summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/v3d/v3d_screen.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-12-05 15:41:35 -0800
committerEric Anholt <[email protected]>2019-04-12 15:59:31 -0700
commit6b1c6598250955552439c3320bf26de6458c5281 (patch)
tree426f6d2c75340f8e186813ab2bcd4ac7a67e098a /src/gallium/drivers/v3d/v3d_screen.h
parent1e0a72ce096bf368e184acfbeed28916cc0e968f (diff)
v3d: Add Compute Shader compilation support.
While waiting for the CSD UABI to get reviewed, I keep having to rebase the CS patch. Just land the compiler side for now to keep it from diverging. For now this covers just GLES 3.1 compute shaders, not CL kernels.
Diffstat (limited to 'src/gallium/drivers/v3d/v3d_screen.h')
-rw-r--r--src/gallium/drivers/v3d/v3d_screen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/v3d/v3d_screen.h b/src/gallium/drivers/v3d/v3d_screen.h
index 94ae8b30f3a..6e90755e77c 100644
--- a/src/gallium/drivers/v3d/v3d_screen.h
+++ b/src/gallium/drivers/v3d/v3d_screen.h
@@ -77,6 +77,8 @@ struct v3d_screen {
uint32_t bo_size;
uint32_t bo_count;
+ bool has_csd;
+
struct v3d_simulator_file *sim_file;
};