nir/spirv: Use the new bare sampler type
This commit is contained in:
@@ -769,12 +769,8 @@ vtn_handle_type(struct vtn_builder *b, SpvOp opcode,
|
|||||||
* thrown away the moment you combine it with an image. What really
|
* thrown away the moment you combine it with an image. What really
|
||||||
* matters is that it's a sampler type as opposed to an integer type
|
* matters is that it's a sampler type as opposed to an integer type
|
||||||
* so the backend knows what to do.
|
* so the backend knows what to do.
|
||||||
*
|
|
||||||
* TODO: Eventually we should consider adding a "bare sampler" type
|
|
||||||
* to glsl_types.
|
|
||||||
*/
|
*/
|
||||||
val->type->type = glsl_sampler_type(GLSL_SAMPLER_DIM_2D, false, false,
|
val->type->type = glsl_bare_sampler_type();
|
||||||
GLSL_TYPE_FLOAT);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SpvOpTypeOpaque:
|
case SpvOpTypeOpaque:
|
||||||
|
Reference in New Issue
Block a user