summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/device9.h
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2015-01-02 13:00:06 +0100
committerEmil Velikov <[email protected]>2015-01-22 22:16:19 +0000
commitd9d18fe39f7b4f628af23b78576e961fd452921f (patch)
tree3df9587758cb612514f3678f490a8a81f3bb8af9 /src/gallium/state_trackers/nine/device9.h
parent77f0ecf9cead20ee6f61149f66663258cebd6179 (diff)
st/nine: Rework of boolean constants
Convert them to shader booleans at earlier stage. Previous code is fine, but later patch will make integers being converted at earlier stage, so do the same for booleans Reviewed-by: Tiziano Bacocco <[email protected]> Signed-off-by: Axel Davy <[email protected]> Cc: "10.4" <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/device9.h')
-rw-r--r--src/gallium/state_trackers/nine/device9.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/device9.h b/src/gallium/state_trackers/nine/device9.h
index 3649e1b479e..9deea2c5427 100644
--- a/src/gallium/state_trackers/nine/device9.h
+++ b/src/gallium/state_trackers/nine/device9.h
@@ -79,8 +79,6 @@ struct NineDevice9
struct pipe_resource *constbuf_ps;
uint16_t max_vs_const_f;
uint16_t max_ps_const_f;
- uint32_t vs_bool_true;
- uint32_t ps_bool_true;
struct gen_mipmap_state *gen_mipmap;
@@ -111,6 +109,8 @@ struct NineDevice9
boolean user_vbufs;
boolean user_ibufs;
boolean window_space_position_support;
+ boolean vs_integer;
+ boolean ps_integer;
} driver_caps;
struct u_upload_mgr *upload;