Skip to content

Commit

Permalink
Fix tess_eval shader in barycentric tests
Browse files Browse the repository at this point in the history
One of output parameters in tessellation evaluation shader
in barycentric tests had a signed integer type which caused
a type mismatch since both possible geometry and fragment
shaders expected an unsigned type for the corresponding
input parameter.

Affects:

dEQP-VK.fragment_shading_barycentric.*.data.shader_combos.with_tess_shader.*
dEQP-VK.fragment_shading_barycentric.*.data.shader_combos.with_tess_geom_shader.*

Components: Vulkan

VK-GL-CTS issue: 4919

Change-Id: I3b7c60cab0d5450c98006800a50730afec75fe81
  • Loading branch information
varvaraposkonina-arm committed Jan 30, 2024
1 parent 7bfd35d commit 1a1b02b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1666,7 +1666,7 @@ void FragmentShadingBarycentricTestCase::initMiscDataTessPrograms(SourceCollecti
"${dataStruct}\n"
"\n"
"layout (location=0) in ${typePrefix} inData[]${typeSuffix};\n"
"struct OutDataStruct {int idx; ${typePrefix} data${typeSuffix};};\n"
"struct OutDataStruct {uint idx; ${typePrefix} data${typeSuffix};};\n"
"layout (location=0) flat out OutDataStruct outParam;\n"
"\n"
"void main (void)\n"
Expand Down

0 comments on commit 1a1b02b

Please sign in to comment.