diff options
author | Martin Peres <[email protected]> | 2015-08-11 17:42:12 +0300 |
---|---|---|
committer | Martin Peres <[email protected]> | 2015-08-20 14:07:46 +0300 |
commit | 80b1707e26734ac9c957cfc876ab5893f1749c74 (patch) | |
tree | 7f90ae1b2dfa64ca23de20ba109d1c7a8c2c69ce /src/glsl/ir_variable_refcount.h | |
parent | 58a8689717a5965919934d1b4b44b4eef0a6bf64 (diff) |
nir: convert the glsl intrinsic image_size to nir_intrinsic_image_size
v2, review from Francisco Jerez:
- make the destination variable as large as what the nir instrinsic
defines (4) instead of the size of the return variable of glsl. This
is still safe for the already existing code because all the intrinsics
affected returned the same amount of components as expected by glsl IR.
In the case of image_size, it is not possible to do so because the
returned number of component depends on the image type and this case
is not well handled by nir.
v3:
- Style fix
Signed-off-by: Martin Peres <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/glsl/ir_variable_refcount.h')
0 files changed, 0 insertions, 0 deletions