projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
radv: Don't handle DCC in compute resolve.
[mesa.git]
/
src
/
amd
/
vulkan
/
radv_shader.h
diff --git
a/src/amd/vulkan/radv_shader.h
b/src/amd/vulkan/radv_shader.h
index 91f2e7f2a1201ab92622c35bb7be7cc508d8ae0a..f6486863f88b0a973d1898982034aa69d76d1ff2 100644
(file)
--- a/
src/amd/vulkan/radv_shader.h
+++ b/
src/amd/vulkan/radv_shader.h
@@
-118,8
+118,8
@@
radv_can_dump_shader(struct radv_device *device,
struct radv_shader_module *module)
{
/* Only dump non-meta shaders, useful for debugging purposes. */
struct radv_shader_module *module)
{
/* Only dump non-meta shaders, useful for debugging purposes. */
- return
!module->nir
&&
-
device->instance->debug_flags & RADV_DEBUG_DUMP_SHADERS
;
+ return
device->instance->debug_flags & RADV_DEBUG_DUMP_SHADERS
&&
+
module && !module->nir
;
}
#endif
}
#endif