diff options
author | Marek Olšák <[email protected]> | 2014-11-09 23:35:08 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-11-16 01:28:26 +0100 |
commit | 48f1409c3bf392f4b277eb6ecaf64e68e314e259 (patch) | |
tree | 78c13ec7d8b8e58b94640401d7ebdd74866b0c2b /src/gallium/auxiliary/util | |
parent | e6a2d3f7b621d1984f82b557175a8af9555b80ac (diff) |
tgsi/ureg: simplify code for declaring properties
Tested-by: Nick Sarnie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_simple_shaders.c | 2 |
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 280ed8f4cb9..0eeb7d99173 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; |