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:
6a183a9
)
agx: Set PIPE_SHADER_CAP_INDIRECT_CONST_ADDR
author
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Thu, 22 Sep 2022 03:43:48 +0000
(23:43 -0400)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 14 Oct 2022 01:37:39 +0000
(
01:37
+0000)
Avoids spilling in t-rex.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18804>
src/gallium/drivers/asahi/agx_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/asahi/agx_pipe.c
b/src/gallium/drivers/asahi/agx_pipe.c
index
105a144
..
aef1726
100644
(file)
--- a/
src/gallium/drivers/asahi/agx_pipe.c
+++ b/
src/gallium/drivers/asahi/agx_pipe.c
@@
-918,7
+918,6
@@
agx_get_shader_param(struct pipe_screen* pscreen,
enum pipe_shader_type shader,
enum pipe_shader_cap param)
{
- bool is_deqp = agx_device(pscreen)->debug & AGX_DBG_DEQP;
bool is_no16 = agx_device(pscreen)->debug & AGX_DBG_NO16;
if (shader != PIPE_SHADER_VERTEX &&
@@
-962,8
+961,6
@@
agx_get_shader_param(struct pipe_screen* pscreen,
return 0;
case PIPE_SHADER_CAP_INDIRECT_CONST_ADDR:
- return is_deqp;
-
case PIPE_SHADER_CAP_INTEGERS:
return true;