diff options
author | Pierre Moreau <[email protected]> | 2017-05-06 23:47:23 +0200 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2017-05-07 10:26:37 -0400 |
commit | 27ad060c6e69a408ce903f1dfbaaa6fa82c080a7 (patch) | |
tree | fa28277061414fcfe45ec84fd8a7cbdccd66746b /src/gallium/drivers/nouveau/nv50 | |
parent | 8fe5949b081e45af504518b6675cc955e32f95f0 (diff) |
nv50/ir: Replace NV50_PROGRAM_IR_* by PIPE_SHADER_IR_*
Signed-off-by: Pierre Moreau <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50')
-rw-r--r-- | src/gallium/drivers/nouveau/nv50/nv50_program.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_program.c b/src/gallium/drivers/nouveau/nv50/nv50_program.c index 76d06aeddfe..92e73f8c12c 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_program.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_program.c @@ -20,6 +20,8 @@ * OTHER DEALINGS IN THE SOFTWARE. */ +#include "pipe/p_defines.h" + #include "nv50/nv50_program.h" #include "nv50/nv50_context.h" @@ -331,7 +333,7 @@ nv50_program_translate(struct nv50_program *prog, uint16_t chipset, info->type = prog->type; info->target = chipset; - info->bin.sourceRep = NV50_PROGRAM_IR_TGSI; + info->bin.sourceRep = PIPE_SHADER_IR_TGSI; info->bin.source = (void *)prog->pipe.tokens; info->io.auxCBSlot = 15; |