File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Graphics/Rendering/OpenGL/GL Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ data GetProgramPName =
63
63
| TessGenSpacing
64
64
| TessGenVertexOrder
65
65
| TessGenPointMode
66
- | ComputeLocalWorkSize -- 3 integers!
66
+ | ComputeWorkGroupSize -- 3 integers!
67
67
| ProgramSeparable
68
68
| ProgramBinaryRetrievableHint
69
69
| ActiveAtomicCounterBuffers
@@ -94,7 +94,7 @@ marshalGetProgramPName x = case x of
94
94
TessGenSpacing -> gl_TESS_GEN_SPACING
95
95
TessGenVertexOrder -> gl_TESS_GEN_VERTEX_ORDER
96
96
TessGenPointMode -> gl_TESS_GEN_POINT_MODE
97
- ComputeLocalWorkSize -> gl_COMPUTE_LOCAL_WORK_SIZE
97
+ ComputeWorkGroupSize -> 0x8267 -- gl_COMPUTE_WORK_GROUP_SIZE a.k.a. gl_COMPUTE_LOCAL_WORK_SIZE
98
98
ProgramSeparable -> gl_PROGRAM_SEPARABLE
99
99
ProgramBinaryRetrievableHint -> gl_PROGRAM_BINARY_RETRIEVABLE_HINT
100
100
ActiveAtomicCounterBuffers -> gl_ACTIVE_ATOMIC_COUNTER_BUFFERS
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ texImage2DMultisample :: TextureTarget2DMultisample
299
299
-> IO ()
300
300
texImage2DMultisample target proxy (Samples s) int (TextureSize2D w h) loc =
301
301
glTexImage2DMultisample
302
- (marshalMultisample proxy target) s (marshalPixelInternalFormat int)
302
+ (marshalMultisample proxy target) s (fromIntegral ( marshalPixelInternalFormat int) )
303
303
w h (marshalSampleLocations loc)
304
304
305
305
marshalMultisample :: ParameterizedTextureTarget t => Proxy -> t -> GLenum
@@ -316,7 +316,7 @@ texImage3DMultisample :: TextureTarget2DMultisampleArray
316
316
-> IO ()
317
317
texImage3DMultisample target proxy (Samples s) int (TextureSize3D w h d) loc =
318
318
glTexImage3DMultisample
319
- (marshalMultisample proxy target) s (marshalPixelInternalFormat int)
319
+ (marshalMultisample proxy target) s (fromIntegral ( marshalPixelInternalFormat int) )
320
320
w h d (marshalSampleLocations loc)
321
321
322
322
--------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments