[Mesa-dev] [PATCH 3/4] nir: Allow outputs reads and add the relevant intrinsics.
Kenneth Graunke
kenneth at whitecape.org
Tue Nov 10 19:03:24 PST 2015
On Tuesday, November 10, 2015 01:21:35 AM you wrote:
[snip]
> diff --git a/src/glsl/nir/nir_validate.c b/src/glsl/nir/nir_validate.c
> index a42e830..841bace 100644
> --- a/src/glsl/nir/nir_validate.c
> +++ b/src/glsl/nir/nir_validate.c
> @@ -422,7 +422,6 @@ validate_intrinsic_instr(nir_intrinsic_instr *instr, validate_state *state)
> assert(instr->variables[0]->var->data.mode != nir_var_shader_in &&
> instr->variables[0]->var->data.mode != nir_var_uniform &&
> instr->variables[0]->var->data.mode != nir_var_shader_storage);
> - assert(instr->variables[1]->var->data.mode != nir_var_shader_out);
> break;
> default:
> break;
This should have deleted the assert in the load_var case too, not just
the copy_var case. (Botched rebase.) I've fixed that locally.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151110/916a2c88/attachment.sig>
More information about the mesa-dev
mailing list