summaryrefslogtreecommitdiff
path: root/src/video_core/shader_environment.cpp
diff options
context:
space:
mode:
authorGravatar liamwhite2024-01-07 20:42:54 -0500
committerGravatar GitHub2024-01-07 20:42:54 -0500
commit82b58668edcb078896a1184d158a08c58f841dd5 (patch)
tree5c64e962b792e29fa153843de15265c998d24b89 /src/video_core/shader_environment.cpp
parentMerge pull request #12606 from german77/npad_close (diff)
parentFix "Propietary" typo elsewhere (diff)
downloadyuzu-82b58668edcb078896a1184d158a08c58f841dd5.tar.gz
yuzu-82b58668edcb078896a1184d158a08c58f841dd5.tar.xz
yuzu-82b58668edcb078896a1184d158a08c58f841dd5.zip
Merge pull request #12608 from szepeviktor/typos
Fix typos in video_core
Diffstat (limited to 'src/video_core/shader_environment.cpp')
-rw-r--r--src/video_core/shader_environment.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/shader_environment.cpp b/src/video_core/shader_environment.cpp
index 492440ac4..250fde96c 100644
--- a/src/video_core/shader_environment.cpp
+++ b/src/video_core/shader_environment.cpp
@@ -322,7 +322,7 @@ GraphicsEnvironment::GraphicsEnvironment(Tegra::Engines::Maxwell3D& maxwell3d_,
322 ASSERT(local_size <= std::numeric_limits<u32>::max()); 322 ASSERT(local_size <= std::numeric_limits<u32>::max());
323 local_memory_size = static_cast<u32>(local_size) + sph.common3.shader_local_memory_crs_size; 323 local_memory_size = static_cast<u32>(local_size) + sph.common3.shader_local_memory_crs_size;
324 texture_bound = maxwell3d->regs.bindless_texture_const_buffer_slot; 324 texture_bound = maxwell3d->regs.bindless_texture_const_buffer_slot;
325 is_propietary_driver = texture_bound == 2; 325 is_proprietary_driver = texture_bound == 2;
326 has_hle_engine_state = 326 has_hle_engine_state =
327 maxwell3d->engine_state == Tegra::Engines::Maxwell3D::EngineHint::OnHLEMacro; 327 maxwell3d->engine_state == Tegra::Engines::Maxwell3D::EngineHint::OnHLEMacro;
328} 328}
@@ -404,7 +404,7 @@ ComputeEnvironment::ComputeEnvironment(Tegra::Engines::KeplerCompute& kepler_com
404 stage = Shader::Stage::Compute; 404 stage = Shader::Stage::Compute;
405 local_memory_size = qmd.local_pos_alloc + qmd.local_crs_alloc; 405 local_memory_size = qmd.local_pos_alloc + qmd.local_crs_alloc;
406 texture_bound = kepler_compute->regs.tex_cb_index; 406 texture_bound = kepler_compute->regs.tex_cb_index;
407 is_propietary_driver = texture_bound == 2; 407 is_proprietary_driver = texture_bound == 2;
408 shared_memory_size = qmd.shared_alloc; 408 shared_memory_size = qmd.shared_alloc;
409 workgroup_size = {qmd.block_dim_x, qmd.block_dim_y, qmd.block_dim_z}; 409 workgroup_size = {qmd.block_dim_x, qmd.block_dim_y, qmd.block_dim_z};
410} 410}
@@ -509,7 +509,7 @@ void FileEnvironment::Deserialize(std::ifstream& file) {
509 file.read(reinterpret_cast<char*>(&gp_passthrough_mask), sizeof(gp_passthrough_mask)); 509 file.read(reinterpret_cast<char*>(&gp_passthrough_mask), sizeof(gp_passthrough_mask));
510 } 510 }
511 } 511 }
512 is_propietary_driver = texture_bound == 2; 512 is_proprietary_driver = texture_bound == 2;
513} 513}
514 514
515void FileEnvironment::Dump(u64 pipeline_hash, u64 shader_hash) { 515void FileEnvironment::Dump(u64 pipeline_hash, u64 shader_hash) {