projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dac8cb9
)
tgsi/mesa: handle KERNEL case
author
Dave Airlie
<airlied@redhat.com>
Tue, 10 Dec 2019 04:49:00 +0000
(14:49 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 27 Dec 2019 03:26:32 +0000
(13:26 +1000)
Translate to compute for now.
Acked-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_from_mesa.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_from_mesa.h
b/src/gallium/auxiliary/tgsi/tgsi_from_mesa.h
index b4d540baabc69d35a58e023edde09e5981dc9a19..c23e6189bd5d9978c7943f4fe7deec9565d15fdb 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_from_mesa.h
+++ b/
src/gallium/auxiliary/tgsi/tgsi_from_mesa.h
@@
-62,6
+62,7
@@
pipe_shader_type_from_mesa(gl_shader_stage stage)
case MESA_SHADER_FRAGMENT:
return PIPE_SHADER_FRAGMENT;
case MESA_SHADER_COMPUTE:
+ case MESA_SHADER_KERNEL:
return PIPE_SHADER_COMPUTE;
default:
unreachable("bad shader stage");