st/pbo: Use nir_var_mem_image for images
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>
This commit is contained in:
committed by
Marge Bot
parent
458b4d2095
commit
97a7c0ab1b
@@ -557,7 +557,7 @@ create_fs(struct st_context *st, bool download,
|
||||
[ST_PBO_CONVERT_SINT_TO_UINT] = GLSL_TYPE_UINT,
|
||||
};
|
||||
nir_variable *img_var =
|
||||
nir_variable_create(b.shader, nir_var_uniform,
|
||||
nir_variable_create(b.shader, nir_var_mem_image,
|
||||
glsl_image_type(GLSL_SAMPLER_DIM_BUF, false,
|
||||
type[conversion]), "img");
|
||||
img_var->data.access = ACCESS_NON_READABLE;
|
||||
|
||||
Reference in New Issue
Block a user