summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2014-11-09 23:35:08 +0100
committerMarek Olšák <marek.olsak@amd.com>2014-11-16 01:28:26 +0100
commit48f1409c3bf392f4b277eb6ecaf64e68e314e259 (patch)
tree78c13ec7d8b8e58b94640401d7ebdd74866b0c2b /src/gallium/auxiliary/util
parente6a2d3f7b621d1984f82b557175a8af9555b80ac (diff)
downloadexternal_mesa3d-48f1409c3bf392f4b277eb6ecaf64e68e314e259.zip
external_mesa3d-48f1409c3bf392f4b277eb6ecaf64e68e314e259.tar.gz
external_mesa3d-48f1409c3bf392f4b277eb6ecaf64e68e314e259.tar.bz2
tgsi/ureg: simplify code for declaring properties
Tested-by: Nick Sarnie <commendsarnex@gmail.com>
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/u_simple_shaders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_simple_shaders.c b/src/gallium/auxiliary/util/u_simple_shaders.c
index 280ed8f..0eeb7d9 100644
--- a/src/gallium/auxiliary/util/u_simple_shaders.c
+++ b/src/gallium/auxiliary/util/u_simple_shaders.c
@@ -84,7 +84,7 @@ util_make_vertex_passthrough_shader_with_so(struct pipe_context *pipe,
return NULL;
if (window_space)
- ureg_property_vs_window_space_position(ureg, TRUE);
+ ureg_property(ureg, TGSI_PROPERTY_VS_WINDOW_SPACE_POSITION, TRUE);
for (i = 0; i < num_attribs; i++) {
struct ureg_src src;