projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b35149
)
iris: don't return shader params for task/mesh.
author
Dave Airlie
<airlied@redhat.com>
Wed, 31 May 2023 20:33:22 +0000
(06:33 +1000)
committer
Marge Bot
<emma+marge@anholt.net>
Thu, 1 Jun 2023 21:50:56 +0000
(21:50 +0000)
These should be reported as 0 for cso
Acked-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23291>
src/gallium/drivers/iris/iris_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_screen.c
b/src/gallium/drivers/iris/iris_screen.c
index
26088f9
..
e723f08
100644
(file)
--- a/
src/gallium/drivers/iris/iris_screen.c
+++ b/
src/gallium/drivers/iris/iris_screen.c
@@
-485,6
+485,10
@@
iris_get_shader_param(struct pipe_screen *pscreen,
{
gl_shader_stage stage = stage_from_pipe(p_stage);
+ if (p_stage == PIPE_SHADER_MESH ||
+ p_stage == PIPE_SHADER_TASK)
+ return 0;
+
/* this is probably not totally correct.. but it's a start: */
switch (param) {
case PIPE_SHADER_CAP_MAX_INSTRUCTIONS: