The %float_var variable was not being used in any way by the test. It
was also invalid because it had the StorageBuffer storage class (so it's
in external memory) but also had a constant initializer. The real
variable being tested in these tests is %f32_ptr_var which has the
Function storage class so a constant initializer is fine.
Component: Vulkan
VK-GL-CTS issue: https://gitlab.khronos.org/Tracker/vk-gl-cts/issues/686
Affects:
dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.nullptr_graphics.opvariable_initialized_null_*
dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.nullptr_graphics.opselect_null_or_valid_ptr_*
Change-Id: I9e2f118b1c774a84c0b6900ef0db081cb5256c2f
// VARIABLES
"%input = OpVariable %float_struct_ptr StorageBuffer \n"
- "%float_var = OpVariable %sb_f32ptr StorageBuffer %c_null_ptr \n"
);
const StringTemplate testFunction (
"OpReturnValue %output_color\n"
"OpFunctionEnd\n");
- // float_var has been inintialized to NULL.
+ // f32_ptr_var has been inintialized to NULL.
// Now set it to the input variable and return it as output
{
GraphicsResources resources;