projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
107a109
)
gen8_state: Enable all cube faces
author
Nanley Chery
<nanley.g.chery@intel.com>
Fri, 22 Jan 2016 20:17:25 +0000
(12:17 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 23 Jan 2016 00:12:52 +0000
(16:12 -0800)
These fields are ignored for non-cube surfaces. For cube surfaces
these fields should be enabled when using TEXCOORDMODE_CLAMP and
TEXCOORDMODE_CUBE.
TODO: Determine if these are the only two modes used in Vulkan.
src/vulkan/gen8_state.c
patch
|
blob
|
history
diff --git
a/src/vulkan/gen8_state.c
b/src/vulkan/gen8_state.c
index 620a9d4ef132922ff42e7cd70f4c3ff13705da3f..823bfa047db7ce826e4b2b67ae77f8c57da3630a 100644
(file)
--- a/
src/vulkan/gen8_state.c
+++ b/
src/vulkan/gen8_state.c
@@
-193,6
+193,12
@@
genX(fill_image_surface_state)(struct anv_device *device, void *state_map,
.VerticalLineStrideOffset = 0,
.SamplerL2BypassModeDisable = true,
.RenderCacheReadWriteMode = WriteOnlyCache,
+ .CubeFaceEnablePositiveZ = 1,
+ .CubeFaceEnableNegativeZ = 1,
+ .CubeFaceEnablePositiveY = 1,
+ .CubeFaceEnableNegativeY = 1,
+ .CubeFaceEnablePositiveX = 1,
+ .CubeFaceEnableNegativeX = 1,
.MemoryObjectControlState = GENX(MOCS),
/* The driver sets BaseMipLevel in SAMPLER_STATE, not here in