summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_shader.h
diff options
context:
space:
mode:
authorChris Forbes <chrisf@ijw.co.nz>2013-10-08 22:09:28 +1300
committerChris Forbes <chrisf@ijw.co.nz>2013-10-26 21:54:15 +1300
commitbdcacaed9c64c49827d325d15ada2c482bfe1578 (patch)
tree42860a193338b0aaede5829e5020563aeb6dc2c4 /src/mesa/drivers/dri/i965/brw_shader.h
parent6bb2cf2107c4461ea9dd100edaf110b839311b90 (diff)
downloadexternal_mesa3d-bdcacaed9c64c49827d325d15ada2c482bfe1578.zip
external_mesa3d-bdcacaed9c64c49827d325d15ada2c482bfe1578.tar.gz
external_mesa3d-bdcacaed9c64c49827d325d15ada2c482bfe1578.tar.bz2
i965: relax brw_texture_offset assert
Some texturing ops are about to have nonconstant offset support; the offset in the header in these cases should be zero. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index 7cebf1f..cc76a44 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.h
+++ b/src/mesa/drivers/dri/i965/brw_shader.h
@@ -77,7 +77,7 @@ public:
void assign_common_binding_table_offsets(uint32_t next_binding_table_offset);
};
-uint32_t brw_texture_offset(ir_constant *offset);
+uint32_t brw_texture_offset(struct gl_context *ctx, ir_constant *offset);
#endif /* __cplusplus */