mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-04 06:38:19 +02:00
jay: allow simd32 gl_SamplePosition
this should work fine now. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41808>
This commit is contained in:
parent
c78c2e03f4
commit
67e3ee6fa9
1 changed files with 0 additions and 11 deletions
|
|
@ -261,17 +261,6 @@ jay_process_nir(const struct intel_device_info *devinfo,
|
|||
/* TODO: Real heuristic */
|
||||
bool do_simd32 = INTEL_SIMD(FS, 32);
|
||||
do_simd32 &= stage == MESA_SHADER_COMPUTE || stage == MESA_SHADER_FRAGMENT;
|
||||
|
||||
/* TODO: The SIMD32 fragment payload is even more fragmented than RA
|
||||
* currently models when sample position is read. RA needs a rework to handle
|
||||
* the real partitions in a proper way (this is planned soon).
|
||||
*
|
||||
* Hot fix for
|
||||
* dEQP-GLES31.functional.shaders.sample_variables.sample_pos.correctness.multisample_texture_4
|
||||
*/
|
||||
do_simd32 &=
|
||||
!BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_SAMPLE_POS);
|
||||
|
||||
unsigned simd_width = do_simd32 ? (nir->info.api_subgroup_size ?: 32) : 16;
|
||||
|
||||
if (stage == MESA_SHADER_VERTEX) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue