diff options
author | Christoph Bumiller <[email protected]> | 2012-01-07 00:39:54 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-01-10 00:37:03 +0100 |
commit | f37c3a3335821c0d0e13238846b2726b3fdaba71 (patch) | |
tree | c19aa92534bfffa890c0d888d198163d92cf3678 /src/gallium/drivers/nvc0/nvc0_screen.c | |
parent | 7c6ca0367bb6e9141e00fa19faabc8441dc05816 (diff) |
nv50,nvc0: handle new PIPE_CAPs
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_screen.c')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_screen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.c b/src/gallium/drivers/nvc0/nvc0_screen.c index 069e68f1a55..cecca0da515 100644 --- a/src/gallium/drivers/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nvc0/nvc0_screen.c @@ -130,6 +130,9 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_CONDITIONAL_RENDER: case PIPE_CAP_TEXTURE_BARRIER: return 1; + case PIPE_CAP_TGSI_CAN_COMPACT_VARYINGS: + case PIPE_CAP_TGSI_CAN_COMPACT_CONSTANTS: + return 0; /* state trackers will know better */ default: NOUVEAU_ERR("unknown PIPE_CAP %d\n", param); return 0; @@ -189,6 +192,8 @@ nvc0_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, return 1; case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS: return 32; + case PIPE_SHADER_CAP_OUTPUT_READ: + return 0; /* shader != PIPE_SHADER_TESSELLATION_CONTROL; */ default: NOUVEAU_ERR("unknown PIPE_SHADER_CAP %d\n", param); return 0; |